package designer.single;

/**
 * 调用各种单例的模式
 * Created by tanlee on 2016/4/6.
 */
public class SingletonManage {

    public SingletonManage() {
    }

    public static void test1(){
        MyThread m1 = new MyThread();
        MyThread m2 = new MyThread();
        MyThread m3 = new MyThread();
        m1.start();
        m2.start();
        m3.start();
    }
}
